<?=$this->headTitle('Просмотр профайла');?>
<?php $this->headLink()->appendStylesheet('/twitterbootstrap/css/bootstrap.min.css')?>
<?= $this->headLink() ?>


<?php if(!empty($this->userprofile)):?>
    <table class="table">
        <caption></caption>
        <thead>
        <tr class="success">
            <th colspan="2" style="text-align:center;font-size:12px;">Просмотр профайла</th>
        </tr>
        </thead>
        <tbody>
        <?php foreach($this->userprofile as $d):?>
        <tr class="info">
                <td>Имя:</td><td><?=$this->escape($d['username']);?></td>
            </tr>
        <tr class="info">
                <td>Логин:</td><td><?=$this->escape($d['userlogin']);?></td>
            </tr>
        <tr class="info">
                <td>Email:</td><td><?=$this->escape($d['email']);?></td>
            </tr>
        <tr class="info">
                <td>Дата регистраций:</td><td><?=$this->escape($d['reg_time']);?></td>
            </tr>
        <tr class="info">
                <td>Аватар:</td><td><img class="img-polaroid" src="<?=$this->escape($d['avatar']);?>"></td>
            </tr>
        </tbody>
	<?php endforeach;?>
 </table>
<?php endif;?>

